package cn.tedu.zhwy.cardealer.mapper;

import cn.tedu.zhwy.cardealer.pojo.dto.CarportQuery;
import cn.tedu.zhwy.cardealer.pojo.entity.Carport;
import cn.tedu.zhwy.cardealer.pojo.vo.CarportVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CarportMapper {

    List<CarportVO> selectCarport(CarportQuery carportQuery);

    void insert(Carport carport);
    void update(Carport carport);

    void deleteCarport(Long id);
}